﻿using System;
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("DomainTests")]
namespace StackNamespace
{
    internal class StackItem
    {
        private Object value;
        private StackItem prevItem;

        public StackItem()
        {
        }
        public StackItem(Object _value)
        {
            value = _value;
        }
        public StackItem GetPrevItem()
        {
            return prevItem;
        }
        public Object GetValue()
        {
            return value;
        }
        public void SetPrevItem(StackItem _prevItem)
        {
            prevItem = _prevItem;
        }
    }
}
